import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.multipart.MultipartResolver;
import org.springframework.web.multipart.support.StandardServletMultipartResolver;

/**
 * Configuration class to adjust file upload settings.
 */
@Configuration
public class FileUploadConfig {
    /**
     * Bean definition for MultipartResolver to handle file uploads.
     *
     * @return StandardServletMultipartResolver instance.
     */
    @Bean
    public MultipartResolver multipartResolver() {
        return new StandardServletMultipartResolver();
    }
}